@import "./base.less";
.ui-loading-block {
    position: fixed;
    top: 0;
    left: 0;
    -webkit-box-pack: center
}

.ui-loading {
    width: 20px;
    height: 20px;
    display: block;
    background: url("../images/loading_sprite.png");
    -webkit-background-size: auto 20px;
    -webkit-animation: am-rotate 1s steps(12) infinite
}

.ui-loading-bright {
    width: 37px;
    height: 37px;
    display: block;
    background-image: url(../images/loading_sprite_white.png);
    -webkit-background-size: auto 37px;
    -webkit-animation: am-rotate2 1s steps(12) infinite
}

.ui-loading-wrap .ui-loading {
    margin: 10px
}

.ui-loading-block {
    width: 100%;
    height: 100%;
    z-index: 9999;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    display: none;
    background: 0 0
}

.ui-loading-block .ui-loading-cnt {
    width: 130px;
    height: 110px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-align: center;
    text-align: center;
    background: rgba(0, 0, 0, .65);
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    .center();
}

.ui-loading-block .ui-loading-bright {
    margin: 18px 0 8px
}

.ui-loading-block.show {
    display: -webkit-box;
    display: box
}

@-webkit-keyframes am-rotate {
    from {
        background-position: 0 0
    }
    to {
        background-position: -240px 0
    }
}

@-webkit-keyframes am-rotate2 {
    from {
        background-position: 0 0
    }
    to {
        background-position: -444px 0
    }
}